Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable line wrapping with the max_print_line environment variable #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fstirlitz
Copy link

Tested on TeX Live 2017. Should also work on several older versions.

My initial motivation for this change is that I happened to run into a nasty issue where TeX's line-wrapping of diagnostics caused ! to appear at the beginning of the line, which latexrun then misinterpreted as an error message.

Set max_print_line environment variable to 2^31-1 in order to effectively
disable line wrapping instead of unwrapping it on our own, which is highly
fragile.

TeX should never output 2 GiB of logs. We hope.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant